import request from '@/utils/request'

// 查询海底滩涂信息列表
export function listSheet(query) {
  return request({
    url: '/system/reservoirInformation/list',
    method: 'get',
    params: query
  })
}

// 查询海底滩涂信息详细
export function getSheet(id) {
  return request({
    url: '/system/reservoirInformation/' + id,
    method: 'get'
  })
}

// 新增海底滩涂信息
export function addSheet(data) {
  return request({
    url: '/system/reservoirInformation',
    method: 'post',
    data: data
  })
}

// 修改海底滩涂信息
export function updateSheet(data) {
  return request({
    url: '/system/reservoirInformation',
    method: 'put',
    data: data
  })
}

// 删除海底滩涂信息
export function delSheet(id) {
  return request({
    url: '/system/reservoirInformation/' + id,
    method: 'delete'
  })
}

export function queryOutPutValue(data) {
  return request({
    url: '/system/reservoirInformation/queryOutPutValue',
    method: 'post',
    data: data
  })
}

